Setting`1
Description
Summary
This class for configuring some internal mechanisms from outside
Type parameter "T"
Those configurations can be of different types
Remarks
per thread: the stacks of values of every setting live in one
AsyncLocal`1, as a State. A scope
opened before an
scope opened inside a task is invisible to that task's siblings and to whatever
started it. Backing the field with
resumed on a pool thread saw the defaults, and a thread returned to the pool carried
whatever scope was left on it into the next caller.
AsyncLocal`1 copies on assignment to Value and on nothing else, so if a state could be mutated in place, two flows holding it
would write over each other. Opening and closing a scope therefore assign another
state, rather than editing one.
Members
Default
PropertyEverScoped
PropertyIsOverriden
Propertyop_Implicit((`0)~AngouriMath.Convenience.Setting{`0}
Methodop_Implicit(AngouriMath.Convenience.Setting{(AngouriMath.Convenience.Setting{`0})~`0
MethodSet((`0)
MethodToString
MethodValue
Property
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6018 pages online